Difference $string{$i} and $string($i)


Back to php.


*baltz    (2009-04-09)
Difference $string{$i} and $string($i)

Hi,

Can anyone tell me what is the difference between $string{$i} and $string($i) ?  I saw this code on a forum but I can't find an explanation on this.

Thank you very much.


See also


ficgs
More websites

You must register to see these links, as this is a collaborative page, then you may change the order of the links by clicking the icons before the titles.



admin
Other websites

The following links might be less relevant, please change their ranks if you find them useful.


 string - C++ Reference
cplusplus > reference/string/string

 Class: String
ruby doc > core/classes/String

with uppercase alphabetic characters converted to lowercase and...
as a format specification, and returns the result of applying it to...

 2.14. Calculating String Difference
discursive > books/cjcook/reference/manipulate text sect string diff

which explains the algorithm and provides links to implementations...

 Java Tips - Difference between String StringBuffer and StringBuilder
java tips > java se tips/java.lang

Difference between String StringBuffer and StringBuilder...
0) { //change the following line to true to submit form return...

 developerWorks : XML : XQuery and XPath forum : difference between xs:string(.) and ...
ibm > developerworks/forums/thread.jspa?threadID=248570&tstart=30

', arrows: true, dropShadow: false, cluetipClass:...
', arrows: false, dropShadow: false, cluetipClass:...

 Difference between a 'binary string" and a "string - The Tcl programming language
wellho > forum/The Tcl programming language

I thought this sounded like a stupid question until I built up the...

 What is the difference between String = "abc" and String = new String("abc");
experts exchange > Programming/Languages/Java/Q 24311680

Please let me knw the difference between the two definitions...

 JavaBat String
javabat > doc/string

 String
caml.inria > pub/docs/manual ocaml/libref/String

 Differences between Visual Basic Trim function and String.Trim() method
geekswithblogs > mnf/archive/2005/11/11/59748.aspx

Differences between Visual Basic Trim function and...

 WikiAnswers - What is the difference between four and five string bass guitars
wiki.answers > Q/What is the

What is the the advantage of using a six string bass than a four...
What is the difference between four and five string bass...
For many players, there is a struggle with the low-b being...

 David Cumps » String Concatenation vs Memory Allocation
blog.cumps > string concatenation vs memory allocation

 What's the difference between string::c_str() and string::data()? - bytes
bytes > groups/cpp/159518 whats

 Browse and search CPAN : String Lang Text Proc
cpan.uwinnipeg > chapter/String Lang Text Proc/String

 » Two String vs. Three String | StrawBale.com
strawbale > two string vs three string

A Straw bale, straw bale house, straw bale construction,...

 What is string theory?
superstringtheory > basics/basic4a

 Heikniemi Hardcoded: .net String vs. StringBuilder - concatenation performance
heikniemi > hc/archives/000124

 String Type/Tension Difference in Spin? - Stringforum.net Board
stringforum > board/showthread.php?t=843

 C++ Programming/Code/IO/Streams/string - Wikibooks, collection of open-content textbooks
en.wikibooks > wiki/C%2B%2B Programming/Code/IO/Streams/string

This page was last modified on 4 March 2011, at...

 Optimize string handling in Visual Basic 6.0 - Part I
aivosto > vbtips/stringopt

VB6 functions and operators in this article: Asc, AscW, Chr$, ChrW$,...
String handling in Visual Basic is slow if done the wrong...

 6. Built-in Types — Python v2.6.2 documentation
docs.python > library/stdtypes

# keys and values are iterated over in the same...
Allowed the argument to be an iterable of key/value pairs and...

 StringUtils (Plexus Common Utilities 1.5.7 API)
plexus.codehaus > plexus utils/apidocs/org/codehaus/plexus/util/StringUtils

Works like abbreviate(String, int), but allows you to specify a...

 String (computer science) - Wikipedia, the free encyclopedia
en.wikipedia > wiki/String (computer science)

 Java - String Vs New String("test") | DreamInCode.net
dreamincode > forums/showtopic87019.htm



Response  
 

Guest name   (option)     Register
Please sum : 7267 + two  




Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.